Home > biomechZoo > Toolbox > Inter-joint Coordination > phase_angle_data.m

phase_angle_data

PURPOSE ^

PHASE_ANGLE_DATA(data, chns, evt1, evt2) computes phase angle taking into

SYNOPSIS ^

function data = phase_angle_data(data, chns, evt1, evt2, pad_type)

DESCRIPTION ^

 PHASE_ANGLE_DATA(data, chns, evt1, evt2) computes phase angle taking into
 account additional padding due to Hilbert Transform edge effects

 ARGUMENTS
   data        ... struct, zoo file to operate on
   chns        ... cell array strings, channels over which to compute phase angle
   evt1        ... string, name of first event where phase angle computation should start
   evt12       ... string, name of second event where phase angle computation should end
   pad_type    ... num, option to pad with zeros or Nans. Default is NaN
 
 RETURNS
   data        ... struct, zoo file with additonal phase angle channels added
                   as 'chns{i}_phase'

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005